<template>
    <div>
        <!--单纯的路由传递页面-->
        <router-view  @refreshUser="refreshUser"/>
    </div>

</template>

<script>
    export default {
        name: "Setting",
        //页面渲染之前的钩子
        mounted() {
            // 获取路由信息
            // console.log(this.$route);
        },
        methods: {
            refreshUser() {
                this.$emit("refreshUser")
            }
        }
    }
</script>

<style scoped>

</style>
